
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
 
namespace MaxLeaf.Platform.DataContract
{
    [Serializable]
    [DataContract]
    [CommonsLib.ORM.DataTable(DBName = "MaxleafSCPBase", TableName = "goods_sale_type",   KeyPropName = "Key" )]
    public class goods_sale_typeDataModel : BaseDataModel
    {
        [DataMember]
        [CommonsLib.ORM.DataField("st_id", true)]
        public int Key {get;set;}

        [DataMember]
        [CommonsLib.ORM.DataField("st_name", "varchar", 60)]
        public string st_name {get;set;}

        [DataMember]
        [CommonsLib.ORM.DataField("create_time", "int", 8)]
        public int create_time { get; set; }


        public override string ToString()
        {
            return string.Format("{0}.{1}","goods_sale_type",this.Key);
        }
    }
}
            